package models

import "gorm.io/gorm"

type Commodity struct {
	gorm.Model
	ID                int
	Title             string
	Price             float64
	ShippingAddressId int
	WDescribe         string `gson:"column:w_describe"`
	ShopId            int
	Number            int
	Enable            int
}

func (table *Commodity) TableName() string {
	return "commodity__commodity"
}
